package utils;

import java.text.DecimalFormat;
import java.text.NumberFormat;

//@author A0103947A
public class DataFormat {

	public static String returnTwoDecimals(double value) {
		NumberFormat df = DecimalFormat.getInstance();
        df.setMinimumFractionDigits(2);
        df.setMaximumFractionDigits(2);
        return (df.format(value));
	}
}
